package cs01;

public class test02 {
    public static void main(String[] args) {
        test01 obj = new test01();
        Thread t = new Thread(obj,"启动线程t1");
        Thread t1 = new Thread(obj,"启动线程t2");
        Thread t2 = new Thread(obj,"启动线程t3");

        t.run();
        t.setPriority(1);
        t1.run();
        t1.setPriority(10);
        t2.run();
        t2.setPriority(5);
    }
}
